package org.example.teacher.Dao;

import org.example.teacher.entity.teacher;

import java.util.List;

public interface TeacherDao {
//    列举操作方法
    public int add(teacher teacher);
    public int delete(teacher teacher);
    public int update(teacher teacher);
    public teacher findone(teacher teacher);
    public List<teacher> findAll();

}
